package com.web.service.impl;

import com.web.dao.StudentIdDAO;
import com.web.dao.impl.StudentIdDAOImpl;
import com.web.entity.Student;
import com.web.service.StudentIdService;

/**
 * @author lenovo
 * @Description
 * @Date2025-3-1 15:02
 */
public class StudentIdServiceImpl implements StudentIdService {
    private StudentIdDAO studentIdDAO= new StudentIdDAOImpl();

    @Override
    public Student getStudentById(int id){
        return studentIdDAO.selectStudentById(id);
    }
}
